package com.cci.kangdao.dto.request;

import lombok.Data;

import java.util.List;

/**
 * @author linjiankun
 * @date 2023/10/24 10:50
 */
@Data
public class SaveCampaignTaskRequest {
    //服务工单id
    private Long orderId;
    //服务工单编号
    private String workOrderNo;
    //sf返回的结果
    private String sfResult;
    //CampaignTask列表
    private List<CampaignTask> campaignTaskListList;

    @Data
    public static class CampaignTask  {
        //主键id
        private Long id;
        //任务名称
        private String trpName;
        //任务描述
        private String trpDescription;
        //任务code
        private String trpCode;
        //任务范围id
        private String campaignRangeId;
        //旧的taskid
        private String oldCampaignTaskId;
        //新taskid
        private String newCampaignTaskId;
        //esn
        private String esn;
        //gsn
        private String gsn;
        //campaign任务状态(1：接受，2：拒绝，3：完成，4：未完成，5：已取消)
        private Integer campaignTaskStatus;
        //拒绝原因枚举值
        private Integer refusalReasonValue;
        //其他拒绝原因
        private String refusalOtherReason;
        //未完成原因枚举值
        private Integer unfinishedReasonValue;
        //其他未完成原因
        private String unfinishedOtherReason;
        //tsb地址
        private String trpFile;
    }
}
